﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OBSwindles
{
    public class AccountInfo
    {
        private int _AccountID;
        private int _CustomerID;
        private string _AccountType;
        private float _AccountBalance;
        private DateTime _AccountCreatedDate;
        private int _AccountOfficerID;
        private DateTime _AccountModifiedDate;
        private Employee _AccountOfficer;

        public AccountInfo()
        {
        }

        public AccountInfo(int p_AccountID, int p_CustomerID, string p_AccountType, float p_AccountBalance
            , DateTime p_AccountCreatedDate, int p_AccountOfficerID, DateTime p_AccountModifiedDate)
        {
            _AccountID = p_AccountID;
            _CustomerID = p_CustomerID;
            _AccountType = p_AccountType;
            _AccountBalance = p_AccountBalance;
            _AccountCreatedDate = p_AccountCreatedDate;
            _AccountOfficerID = p_AccountOfficerID;
            _AccountModifiedDate = p_AccountModifiedDate;

        }

        public virtual int AccountID
        {
            get { return _AccountID; }
            set { _AccountID = value; }
        }

        public virtual int CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        public virtual string AccountType
        {
            get { return _AccountType; }
            set { _AccountType = value; }
        }

        public virtual float AccountBalance
        {
            get { return _AccountBalance; }
            set { _AccountBalance = value; }
        }

        public virtual DateTime AccountCreatedDate
        {
            get { return _AccountCreatedDate; }
            set { _AccountCreatedDate = value; }
        }

        public virtual String AccountCreatedDateString
        {
            get
            { return _AccountCreatedDate.ToShortDateString(); }
        }


        public virtual int AccountOfficerID
        {
            get { return _AccountOfficerID; }
            set { _AccountOfficerID = value; }
        }

        public virtual DateTime AccountModifiedDate
        {
            get { return _AccountModifiedDate; }
            set { _AccountModifiedDate = value; }
        }

        public virtual string AccountModifiedDateString
        {
            get { return _AccountModifiedDate.ToShortDateString(); }
        }

        public virtual Employee AccountOfficer
        {
            get { return _AccountOfficer; }
            set { _AccountOfficer = value; }
        }

    }
}
